package org.project.service.user;

import java.util.List;

import javax.annotation.Resource;

import org.project.dao.user.FuncionMapper;
import org.project.dao.user.ImgsMapper;
import org.project.dao.user.OrderMapper;
import org.project.pojo.Appoiment;
import org.project.pojo.Apprecord0;
import org.project.pojo.CityAddress;
import org.project.pojo.Comment;
import org.project.pojo.Detailimgs0;
import org.project.pojo.Details2;
import org.project.pojo.Fengye;
import org.project.pojo.GoodsDetail;
import org.project.pojo.Img0;
import org.project.pojo.Imgs;
import org.project.pojo.Order;
import org.project.pojo.Orderrecord;
import org.project.pojo.Record0;
import org.project.pojo.Recorddetails;
import org.project.pojo.ShopTime;
import org.project.pojo.Show1;
import org.project.pojo.TypeDetail;
import org.springframework.stereotype.Service;
@Service
public class ImgsServiceImpl implements ImgsService {
	@Resource
	private ImgsMapper imgsMapper;
	
	@Resource
	private FuncionMapper functionmapper;
	
	@Resource
	private OrderMapper ordermapper;
	@Override
	public int insertSelective(Imgs imgs) {
		// TODO Auto-generated method stub
		return imgsMapper.insertSelective(imgs);
	}

	
	@Override
	public  List<Record0> selecteightimgs(){
		return  imgsMapper.selecteightimgs();
	}


	@Override
	public List<Imgs> selectbannerimgs() {
		
		return imgsMapper.selectbannerimgs();
	}


	@Override
	public Recorddetails selectdetails(String functionNum) {
		// TODO Auto-generated method stub
		return imgsMapper.selectdetails(functionNum);
	}


	@Override
	public List<Imgs> selectdetailimgs(String functionNum) {
		// TODO Auto-generated method stub
		return imgsMapper.selectdetailimgs(functionNum);
	}


	@Override
	public List<CityAddress> selectcityshop(CityAddress cityAddress) {
		// TODO Auto-generated method stub
		return functionmapper.selectcityshop(cityAddress);
	}


	@Override
	public List<Details2> selectdetails2(String functionNum) {
		// TODO Auto-generated method stub
		return imgsMapper.selectdetails2(functionNum);
	}


	@Override
	public Record0 selectconfirmimg(String functionNum) {
		// TODO Auto-generated method stub
		return imgsMapper.selectconfirmimg(functionNum);
	}


	@Override
	public List<Apprecord0> selectcityall(String cityName) {
		// TODO Auto-generated method stub
		return functionmapper.selectcityall(cityName);
	}


	
	@Override
	public int insertorder(Order order) {
		// TODO Auto-generated method stub
		return ordermapper.insertorder(order);
	}


	@Override
	public int insertshoptime(ShopTime shoptime) {
		
		return ordermapper.insertshoptime(shoptime);
	}





	@Override
	public Appoiment selectxuzhi() {
		// TODO Auto-generated method stub
		return ordermapper.selectxuzhi();
	}


	@Override
	public Appoiment selectxieyi() {
		// TODO Auto-generated method stub
		return ordermapper.selectxieyi();
	}


	@Override
	public int inserttypedetail(TypeDetail typeDetail) {
		
		return ordermapper.inserttypedetail(typeDetail);
	}


	@Override
	public List<Orderrecord> selectorder(String openid) {
		// TODO Auto-generated method stub
		return ordermapper.selectorder(openid);
	}
	
	
	@Override
	public List<TypeDetail> selecttypedetails(Orderrecord orderrecord) {
		// TODO Auto-generated method stub
		return ordermapper.selecttypedetails(orderrecord);
	}


	@Override
	public int insertcomment(Comment comment) {
		// TODO Auto-generated method stub
		return ordermapper.insertcomment(comment);
	}


	@Override
	public int cancelorder(String orderid) {
		// TODO Auto-generated method stub
		  return ordermapper.cancelorder(orderid);
	}


	@Override
	public int outtimeorder(String orderid) {
		// TODO Auto-generated method stub
		return ordermapper.outtimeorder(orderid);
	}


	@Override
	public int insertorder2(Order order) {
		// TODO Auto-generated method stub
		return ordermapper.insertorder2(order);
	}


	@Override
	public int editfunction2(Recorddetails recorddetails) {
		// TODO Auto-generated method stub
		return functionmapper.editfunction2(recorddetails);
	}


	@Override
	public int editfunction3(Recorddetails recorddetails) {
		// TODO Auto-generated method stub
		return functionmapper.editfunction3(recorddetails);
	}


	@Override
	public Details2 editdetaillist11(int id) {
		// TODO Auto-generated method stub
		return functionmapper.editdetaillist11(id);
	}


	@Override
	public int editdetaillist2(Details2 details2) {
		// TODO Auto-generated method stub
		return functionmapper.editdetaillist2(details2);
	}


	@Override
	public int deletedetails(int id) {
		// TODO Auto-generated method stub
		return functionmapper.deletedetails(id);
	}


	@Override
	public int adddetails(GoodsDetail goodsDetail) {
		// TODO Auto-generated method stub
		return functionmapper.adddetails(goodsDetail);
	}


	@Override
	public Order selectwzforder(String openid) {
		// TODO Auto-generated method stub
		return ordermapper.selectwzforder(openid);
	}


	@Override
	public int payorder(String orderid) {
		// TODO Auto-generated method stub
		return ordermapper.payorder(orderid);
	}




	@Override
	public int fdimgscount() {
		// TODO Auto-generated method stub
		return imgsMapper.fdimgscount();
	}


	@Override
	public List<Detailimgs0> selectfdimgs(Fengye fengye) {
		// TODO Auto-generated method stub
		return imgsMapper.selectfdimgs(fengye);
	}


	@Override
	public int editagreement1(Appoiment appoiment) {
		// TODO Auto-generated method stub
		return ordermapper.editagreement1(appoiment);
	}


	@Override
	public int editnotice1(Appoiment appoiment) {
		// TODO Auto-generated method stub
		return ordermapper.editnotice1(appoiment);
	}


	@Override
	public Show1 select1(String functionNum) {
		// TODO Auto-generated method stub
		return functionmapper.select1(functionNum);
	}


	@Override
	public int updateintroduce(Show1 show1) {
		// TODO Auto-generated method stub
		return functionmapper.updateintroduce(show1);
	}


	@Override
	public int updateitenDetails(Show1 show1) {
		// TODO Auto-generated method stub
		return functionmapper.updateitenDetails(show1);
	}


	@Override
	public int addfdimgs(Img0 img0) {
		// TODO Auto-generated method stub
		return imgsMapper.addfdimgs(img0);
	}


	@Override
	public int updatefdimgs(Img0 img0) {
		// TODO Auto-generated method stub
		return imgsMapper.updatefdimgs(img0);
	}


	@Override
	public int updateeightimgs(Img0 img0) {
		// TODO Auto-generated method stub
		return imgsMapper.updateeightimgs(img0);
	}


	@Override
	public int updatebanner(Img0 img0) {
		// TODO Auto-generated method stub
		return imgsMapper.updatebanner(img0);
	}


	@Override
	public int deletefdimgs(Img0 img0) {
		// TODO Auto-generated method stub
		return imgsMapper.deletefdimgs(img0);
	}

    


	
	


	
	

	
}
